﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="SuaLK.aspx.cs" Inherits="admin_SuaLK" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 132px">
                Mã LK</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="295px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 132px">
                Tên LK</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" Width="295px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 132px">
                Giá Bán</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" Width="295px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 132px">
                Hình ảnh</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 132px">
                Số lượng</td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server" Width="295px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 132px">
                Loại LK</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="LoaiLK" DataValueField="LoaiLK" 
                    Height="23px" Width="143px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT DISTINCT [LoaiLK] FROM [LinhKien]"></asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 132px">
                <asp:Button ID="BtSave" runat="server" Text="Save" />
                <asp:Button ID="BtCan" runat="server" Text="Cancel" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>

